<template>
  <div>
      <router-link to="/login">登录</router-link>
      <button @click="toRegist">注册</button>
  </div>
</template>

<script>
export default {
  name:"",
  methods:{
    toRegist(){
      this.$router.push('/regist')
    }
  }

}
</script>

<style>

</style>